<template>
  <div class="datailc">
    {{arrA.content}}
  </div>
</template>

<script>
export default {
  name: "datailc",
  data() {
    return {
      idb:'',
      arrA:[]
    };
  },
  computed: {},
  watch: {},
  methods: {
    getData(idb) {
      this.$http.get(`/api/topic/${idb}`).then(res => {
        console.log(res.data.data);
        this.arrA = res.data.data;
      });
    }
  },
  created() {
    this.idb=this.$route.query.id
    this.getData(this.idb)
  },
  mounted() {},
  beforeCreate() {},
  beforeMount() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  activated() {},
  components: {}
};
</script>

<style lang='scss' scoped>
</style>